﻿using ALMDDD.Domain.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace ALMDDD.Domain.Model
{
    /// <summary>
    /// 用户角色关系领域实体
    /// </summary>
    public class SysUserRole:Entity
    {

        public SysUserRole() { }
        public SysUserRole(Guid id,DateTime trxTime,string trxName,string trxUser,Guid userId,Guid roleId)
        {
            Id = id;
            RoleId = roleId;
            UserId = userId;
            TrxName = trxName;
            TrxTime = trxTime;
            TrxUser = trxUser;

        }
        public Guid RoleId { get; private set; }
        public Guid UserId { get; private set; }

      

    }
}
